$(function(){	
	loadData();
});

function loadData(){
	$.ajax(frame.fullUrl("/base/user/useinfo.json"),{
		mask:true,
		success: function(data){
			if(data){
				$("#ff1").form("load",data);
			}
		}
	});
};

function saveData() {
	var data = $("#ff1").form("getData");
	$.post(frame.fullUrl("/base/user/updateuseinfo.json"), 
			data,
			function() {
				loadData();
			}
	);
};
